<?php
	$conn = new mysqli("localhost","root","admin","farmer");
	if (mysqli_connect_errno() ){
		echo "mysql connect error!";
		exit();
	};
	$conn->query("SET NAMES 'utf8'");
?>